LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := main

LOCAL_C_INCLUDES := $(LOCAL_PATH)/../include

# Add your application source files here...
# LOCAL_SRC_FILES := main.cpp
SOURCES := $(shell find -wholename "./jni/src/*.cpp")
LOCAL_SRC_FILES := $(SOURCES:./jni/src/%=%)

LOCAL_SHARED_LIBRARIES := SDL2

LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -llog

include $(BUILD_SHARED_LIBRARY)
